package com.dapeis.tx.push;

import com.ag.module.common.api.service.text.base.CustomXiaoMiPushNotice;
import com.ag.module.common.api.service.text.base.PassPushNotice;
import com.dapeis.core.utils.MessagePushConfig;

public class UserFinishServerNoticeText extends CustomXiaoMiPushNotice {
    String nickName;
    String orderId;

    public UserFinishServerNoticeText(String nickName, Long orderId) {
	this.orderId = orderId.toString();
	this.nickName = nickName;
    }

    @Override
    public Long badge() {
	return 1L;
    }

    @Override
    public String createUrl() {
	return MessagePushConfig.collocationaAreement.USER_FINSH_SERVER;
    }

    @Override
    public String title() {
	String title = "用户[" + nickName + "]结束了服务，点击查看";
	return title;
    }

    @Override
    public String content() {
	String content = "用户[" + nickName + "]结束了服务，点击查看";
	return content;
    }

    @Override
    public String setData() {
	return orderId;
    }

}
